<html>
<head><meta charset="utf-8"><title>incr comp object cache problem (cg_clif) · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/incr.20comp.20object.20cache.20problem.20(cg_clif).html">incr comp object cache problem (cg_clif)</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="190287699"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/incr%20comp%20object%20cache%20problem%20%28cg_clif%29/near/190287699" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/incr.20comp.20object.20cache.20problem.20(cg_clif).html#190287699">(Mar 11 2020 at 14:35)</a>:</h4>
<p>I am trying to implement caching of object files in the incremental cache for rustc_codegen_cranelift: <a href="https://github.com/bjorn3/rustc_codegen_cranelift/tree/incr_cache" target="_blank" title="https://github.com/bjorn3/rustc_codegen_cranelift/tree/incr_cache">https://github.com/bjorn3/rustc_codegen_cranelift/tree/incr_cache</a></p>
<p>For some reason all <code>codegen_dep_node</code>'s get marked red. Why is this, or how can I debug this?</p>



<a name="190289031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/incr%20comp%20object%20cache%20problem%20%28cg_clif%29/near/190289031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/incr.20comp.20object.20cache.20problem.20(cg_clif).html#190289031">(Mar 11 2020 at 14:46)</a>:</h4>
<p>I may have found the issue</p>



<a name="190291619"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/incr%20comp%20object%20cache%20problem%20%28cg_clif%29/near/190291619" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/incr.20comp.20object.20cache.20problem.20(cg_clif).html#190291619">(Mar 11 2020 at 15:07)</a>:</h4>
<p>The issue was that I didn't run the actual codegen in a new task using <code>dep_graph.with_task</code>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>